
pkgname=libyaml
pkgver=0.1.7
pkgrel=1
pkgdesc="YAML 1.1 library"
arch=('x86_64')
url="http://pyyaml.org/wiki/LibYAML"
license=('MIT')
source=("http://pyyaml.org/download/libyaml/yaml-${pkgver}.tar.gz")
md5sums=('1abf45bd3a96374fa55ca63b32f9f2f9')

build() {
  cd yaml-${pkgver}

  ./configure --prefix=/usr
  make
}

package() {
  cd yaml-$pkgver

  make DESTDIR=${pkgdir} install
  install -m644 -D LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
